.TH "STRCOUNTS" 3 "Sat Sep 23 2023" "My Project" \" -*- nroff -*-
.ad l
.nh
.SH NAME
strcounts \-  统计给定字符在字符串中出现的次数 

.SH SYNOPSIS
.br
.PP
\fC#include <cstring-extension\&.h>\fP
.br

.SS "Functions"
.SS "static size_t strcounts (const char * str, char ch)\fC [inline]\fP, \fC [static]\fP"

.PP
统计给定字符在字符串中出现的次数 
.PP
\fBParameters\fP
.RS 4
\fIstr\fP 原字符串 
.br
\fIch\fP 需要统计的字符 
.RE
.PP
\fBReturns\fP
.RS 4
size_t 字符出现的次数 
.RE
.PP

.PP
Referenced by strsplit()\&.
.SH "Detailed Description"
.PP 
接口的主要功能是判断str是否以postfix结尾；注意该函数区分大小写 
.SH "CONFORMING TO"
These functions are as per the withdrawn POSIX.1e draft specification.
The following functions are Linux extensions:
.BR strstrip (),
.BR strstripspace (),
.BR strstripblank (),
.BR strskipspace (),
.BR strskipblank (),
.BR str2upper (),
.BR str2lower (),
.BR strfirstof (),
.BR strlastof (),
.BR strstartswith (),
.BR strstartswith_nocase (),
.BR strendwith ()
and
.BR strsplit ().
.SH "SEE ALSO"
.BR strstrip (3),
.BR strstripspace (3),
.BR strstripblank (3),
.BR strskipspace (3),
.BR strskipblank (3),
.BR str2upper (3),
.BR str2lower (3),
.BR strfirstof (3),
.BR strlastof (3),
.BR strstartswith (3),
.BR strstartswith_nocase (3),
.BR strendwith (3)
and
.BR strsplit (3).

.SH "Author"
.PP 
Generated automatically by Doxygen for cstring-extension.h from the source code\&.
